/*
 * @Description: Have A Nice Day!
 * @Author: Jacky
 * @Date: 2020-02-13 16:18:05
 * @LastEditors  : Jacky
 * @LastEditTime : 2020-02-13 16:44:53
 */
import React from 'react'
import styles from './index.module.css'
export default function TimeLineItem(props) {
    let {title, children, islast} = props
    return (
        <div className={styles["item-wrap"]+" "+styles[islast?'no-trail':'']}>
            <div className={styles["item-title"]}>
                {title}
            </div>
            <div className={styles["item-content"]}>
                {children}
            </div>
        </div>
    )
}
